package tool;

public class IsLegalName {
	public static Boolean Is_legal_name(String name)
	{
		int len = unLegalChar.length();
		for(int i = 0; i < len; ++i)
		{
			if(name.indexOf(unLegalCharArray[i]) > 0 )
				return false;
		}
		return true;
	}
	private static String unLegalChar =  "~!@#$%^&*()+"; 
	private static char[] unLegalCharArray = unLegalChar.toCharArray();
}